package com.dhcc.bpm.alarm.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dhcc.bpm.alarm.entity.SalaryAgree;
import com.dhcc.bpm.alarm.mapper.SalaryAgreeMapper;
import com.dhcc.bpm.alarm.service.ISalaryAgreeService;
import com.dhcc.bpm.alarm.vo.SalaryAgreeVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xiafayu
 * @since 2022-02-24
 */
@Service
public class SalaryAgreeServiceImpl extends ServiceImpl<SalaryAgreeMapper, SalaryAgree> implements ISalaryAgreeService {
    @Autowired
    SalaryAgreeMapper SalaryAgreeMapper;
    @Override
    public     IPage<SalaryAgreeVO> selectSalaryAgreePage(IPage<SalaryAgreeVO> page, SalaryAgreeVO SalaryAgreeConfig)
    {
        return page.setRecords(SalaryAgreeMapper.selectSalaryAgreePage(page, SalaryAgreeConfig));
    }
}
